using Acme.BookStore.EntityFrameworkCore.Configurations;
using Microsoft.EntityFrameworkCore;

namespace Acme.BookStore.EntityFrameworkCore
{
    public static class BookStoreDbContextModelCreatingExtensions
    {
        public static void ConfigureBookStore(this ModelBuilder builder)
        {
            // 应用我们自定义的实体配置
            builder.ApplyConfiguration(new ShopWhereConfiguration());
            builder.ApplyConfiguration(new RfidConfiguration());
        }
    }
} 